package com.csdj.rest.controller;

import com.csdj.common.WebResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/test")
public class TestCon {

    @GetMapping("/")
    public WebResult test(){
        return new WebResult(200,"test").putData("name","cloud");
    }
}
